This page details ideas and improvements relating to SevenMock.

  • Introduce the option to relax strict sequencing of expectations (either completely or partially)
    • If the expect() operation returned the expectation, it would be possible to construct statements like:
      Expectation ex1 = expect(...);
      expect(...).after(ex1);
  • Investigate the possibility/value of using the JMock expectation engine with the SevenMock API.
  • Allow assertions on non-mocked methods by using a call-through approach - i.e. the listener is called first to validate any assertions and then the real object is called after. This might be useful where the real object has desirable side effects e.g. if we want to ensure that a data access object is invoked without actually mocking it out.

SevenMock Home

SourceForge.net Logo